package com.itheima.dto;

import com.itheima.entity.update;
import com.itheima.vo.updateVO;
import lombok.Data;

@Data
public class updateDTO {

    private Integer id;
    private String attr_key;
    private String attr_value;

    public update getUpdateVO() {
        update update = new update();
        update.setId(id);
        update.setAttrKey(attr_key);
        update.setAttrValue(attr_value);
        return update;
    }
}
